import request from '@/utils/request'

/** 发布政策列表信息 */
export function listPageAuditInfo(updateitems) {
  return request({
    url: "http://localhost:8080/bt/policy/pageWaitAuditPolicy",
    method: "post",
    data: updateitems
  })
}

/** 发布政策列表信息 */
export function policyOptionInfo(updateitems) {
  return request({
    url: "http://localhost:8080/bt/policy/policyOptionInfo",
    method: "post",
    data: updateitems
  })
}

/** 发布政策详情信息 */
export function getAuditPolicyInfo(id) {
  return request({
    url: "http://localhost:8080/bt/policy/fetchWaitAuditPolicy/" + id,
    method: "get",
  })
}

/** 发布政策审核 */
export function aduitPolicy(data) {
  return request({
    url: "http://localhost:8080/bt/policy/updateAuditPolicy",
    method: "post",
    data: data
  })
}

